package com.hspedu.homework.homework06;

/**
 * 工厂类
 * @author sp
 * @version 0.1
 */
public class VehiclesFactory {
    public static Horse getHorse(){
        return new Horse();
    }

    public static Boat getBoat(){
        return new Boat();
    }
    public static Plane getPlane(){
        return new Plane();
    }
}
